package com.xpsoft.oa.model.statistics;


import com.google.gson.annotations.Expose;
import com.xpsoft.oa.model.hrm.Job;
import com.xpsoft.oa.model.system.Department;
import com.xpsoft.oa.model.system.Dictionary;

/**
 * StaffRecruitInfo Base Java Bean, base class for the.oa.model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
public class StaffRecruitInfo extends com.xpsoft.core.model.BaseModel {
	@Expose
    protected Long id;  
	@Expose
	protected StaffRecruitapply staffRecruitapply;
	@Expose
	protected Department dept;
	@Expose
	protected Job job;
	@Expose
	protected Integer needNum;
	@Expose
	protected String age;
	@Expose
	protected String sex;
	@Expose
	protected java.util.Date needWorkDate;
	@Expose
	protected String jobDesc;
	@Expose
	protected Dictionary educationDic;
	@Expose
	protected String workYear;
	@Expose
	protected String otherNeeds;
	@Expose
	protected Integer status;// 0待招  1完成 2放弃


	/**
	 * Default Empty Constructor for class StaffRecruitInfo
	 */
	public StaffRecruitInfo () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class StaffRecruitInfo
	 */
	public StaffRecruitInfo (
		 Long in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Long
     * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Long aValue) {
		this.id = aValue;
	}	


	public Department getDept() {
		return dept;
	}

	public void setDept(Department dept) {
		this.dept = dept;
	}

	/**
	 * 需求人数	 * @return Integer
	 * @hibernate.property column="needNum" type="java.lang.Integer" length="10" not-null="false" unique="false"
	 */
	public Integer getNeedNum() {
		return this.needNum;
	}
	
	/**
	 * Set the needNum
	 */	
	public void setNeedNum(Integer aValue) {
		this.needNum = aValue;
	}	

	
	/**
	 * 性别要求	 * @return String
	 * @hibernate.property column="sex" type="java.lang.String" length="10" not-null="false" unique="false"
	 */
	public String getSex() {
		return this.sex;
	}
	
	/**
	 * 年龄要求	 * @return Integer
	 * @hibernate.property column="age" type="java.lang.Integer" length="10" not-null="false" unique="false"
	 */
	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}

	/**
	 * Set the sex
	 */	
	public void setSex(String aValue) {
		this.sex = aValue;
	}	

	/**
	 * 拟要求到岗日期	 * @return java.util.Date
	 * @hibernate.property column="needWorkDate" type="java.util.Date" length="19" not-null="false" unique="false"
	 */
	public java.util.Date getNeedWorkDate() {
		return this.needWorkDate;
	}
	
	/**
	 * Set the needWorkDate
	 */	
	public void setNeedWorkDate(java.util.Date aValue) {
		this.needWorkDate = aValue;
	}	

	/**
	 * 岗位职责描述	 * @return String
	 * @hibernate.property column="jobDesc" type="java.lang.String" length="65535" not-null="false" unique="false"
	 */
	public String getJobDesc() {
		return this.jobDesc;
	}
	
	/**
	 * Set the jobDesc
	 */	
	public void setJobDesc(String aValue) {
		this.jobDesc = aValue;
	}	

	/**
	 * 工作经验要求	 * @return String
	 * @hibernate.property column="workYear" type="java.lang.String" length="255" not-null="false" unique="false"
	 */
	public String getWorkYear() {
		return this.workYear;
	}
	
	/**
	 * Set the workYear
	 */	
	public void setWorkYear(String aValue) {
		this.workYear = aValue;
	}	

	/**
	 * 其他特殊要求	 * @return String
	 * @hibernate.property column="otherNeeds" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getOtherNeeds() {
		return this.otherNeeds;
	}
	
	/**
	 * Set the otherNeeds
	 */	
	public void setOtherNeeds(String aValue) {
		this.otherNeeds = aValue;
	}	

	/**
	 * 状态 0招待 1完成 2放弃	 * @return Integer
	 * @hibernate.property column="status" type="java.lang.Integer" length="10" not-null="false" unique="false"
	 */
	public Integer getStatus() {
		return this.status;
	}
	
	public StaffRecruitapply getStaffRecruitapply() {
		return staffRecruitapply;
	}

	public void setStaffRecruitapply(StaffRecruitapply staffRecruitapply) {
		this.staffRecruitapply = staffRecruitapply;
	}

	public Job getJob() {
		return job;
	}

	public void setJob(Job job) {
		this.job = job;
	}

	public Dictionary getEducationDic() {
		return educationDic;
	}

	public void setEducationDic(Dictionary educationDic) {
		this.educationDic = educationDic;
	}

	/**
	 * Set the status
	 */	
	public void setStatus(Integer aValue) {
		this.status = aValue;
	}	
}
